package br.com.infocruz.seam.crm.ejb.facade;

import java.util.List;

import javax.ejb.Local;

import br.com.infocruz.seam.crm.ejb.model.EntityList;
import br.com.infocruz.seam.crm.ejb.model.User;

@Local
public interface UserFacade extends Facade<User>{

	List<User> findByUserName(String userName);

	EntityList<User> findByUserName(String userName, Integer maxResults, Integer firstResult);

	EntityList<User> findByUserName(String userName, String orderDirection, String orderColumn);

	EntityList<User> findByUserName(String userName, Integer maxResults, Integer firstResult, String orderDirection, String orderColumn);
	
}
